package com.ruoyi.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 绑定分润配置 对象 bu_sharing
 *
 * @author ruoyi
 * @date 2024-09-23
 */
public class BuSharing extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 客户ID */
    @Excel(name = "客户ID")
    private Long customId;

    /** 绑定的用户ID */
    @Excel(name = "绑定的用户ID")
    private Long userId;

    /** 分润百分比 */
    @Excel(name = "分润百分比")
    private Integer profitSharing;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCustomId(Long customId)
    {
        this.customId = customId;
    }

    public Long getCustomId()
    {
        return customId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setProfitSharing(Integer profitSharing)
    {
        this.profitSharing = profitSharing;
    }

    public Integer getProfitSharing()
    {
        return profitSharing;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("customId", getCustomId())
                .append("userId", getUserId())
                .append("profitSharing", getProfitSharing())
                .toString();
    }
}
